import pyframe

from block_method import BlockMethod

class GetRequest(BlockMethod):

	def run(self):

		return '<request>' + \
			''.join(['<param name="%s">%s</param>' % (name, value)
				for name, value in pyframe.getRequest().iteritems()]) + \
			'</request>'